Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Generate network graphs and launch files
Description: Tutorial on how to generate network graphs and launch filesTutorial Level: BEGINNER
For each package in graphs/ run either one of the next three commands:
(generated graph returning screen output)
$./min_dpa.py N d l d0
(generate .dot and .launch file for the described scenarios (this will output 28 files), The .dot will be placed at graphs/dot and the launch file at launch/graphs in relation to the root of each package)
$./create_graphs.py
(generate 1 graph outputting .dot and .launch in graphs/)
$./create_1_graph.py N d
To generate the images for a given graph use the dot command-line tool as:
$dot -Kfdp -n -Tpng -o graph.png dotgraph.dot
To visualize the generated images you can use:
$eog graph.png